01. Introduction

Introduction

Lesson Overview

In this lesson, you are going to learn how to write classes in C++. The lesson assumes a basic knowledge of object oriented programming as taught in the "Working with Matrices - State and Object Oriented Programming" lessons from earlier in the nanodegree program.

The first part of the lesson is organized with a top down approach. We are going to show you a Python class and then compare the same class in C++. Once you get a feel for C++ object oriented syntax, you'll then code your own C++ class step by step.

Keep in mind that the fundamentals of object oriented programming remain the same whether you are using Python or C++. In both Python and C++, you define class variables and class methods; the difference is mostly in the syntax. And there are a few aspects of C++ that Python does not have as you'll find out in this lesson.

Continue on to get started!